add_swift_executable(swift-stdlib-tool
  swift-stdlib-tool.mm)

find_library(FOUNDATION NAMES Foundation)
target_link_libraries(swift-stdlib-tool ${FOUNDATION})

swift_install_in_component(compiler
    TARGETS swift-stdlib-tool
    RUNTIME DESTINATION "bin")

